//
//  rewordgood_Cell.m
//  pz_live
//
//  Created by caiyc on 2018/9/17.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "rewordgood_Cell.h"

@implementation rewordgood_Cell

- (void)awakeFromNib {
    [super awakeFromNib];
     self.selectionStyle = UITableViewCellSelectionStyleNone;
    // Initialization code
}
-(void)bindData:(NSDictionary *)dic{
    self.mobile.text =dic[@"mobile"];
    self.name.text = dic[@"nickname"];
    self.goods_Name.text = dic[@"title"];
    NSURL *url = [NSURL URLWithString:dic[@"thumb"]];
    [self.image sd_setImageWithURL:url];
    NSURL *logo_url = [NSURL URLWithString:dic[@"logo"]];
    [self.logo sd_setImageWithURL:logo_url];
    self.num.text = [NSString stringWithFormat:@"数量：%@",dic[@"goods_num"]];
    self.price.text = [NSString stringWithFormat:@"抢购金：%@",dic[@"price"]];
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
